package c0907m.group2.aitsm.core.entity;

/**
 * Author: LongDH
 * Date: 4/27/11
 * Time: 2:47 PM
 * <p/>
 * Contain information of Subjects table's row.
 */
public class SubjectInfo {
    private int id;
    private String name;
    private String description;
    private boolean active;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    @Override
    public String toString() {
        return "SubjectInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", active=" + active +
                '}';
    }
}
